package com.robotserver.orders.service;

import com.robotserver.orders.param.JdOrderSyncParam;
import com.robotserver.orders.param.VipOrderSyncParam;
import com.robotserver.orders.param.biz.VipOrderPullParam;
import com.robotserver.orders.vo.biz.PageVO;

/**
 * @Auther: jianghan
 * @Date: 2020/12/2 11:32
 * @Description:
 */
public interface VipOrderService {
    void syncOrder(VipOrderSyncParam vipOrderSyncParam);

    PageVO getOrderList(VipOrderPullParam param);

    /**
     * 生产者-往redis队列当中生产vipTokens
     */
    void syncOrder_producer(VipOrderSyncParam vipOrderSyncParam);

    /**
     * 消费者-消费redis队列当中的vipTokens
     */
    void syncOrder_consumer(VipOrderSyncParam vipOrderSyncParam);
}
